<div class="coversplash">
<div class="coverdiv">
<div id="slider">
        <ul id="sliderContent">
        
		<?
            include_once 'lib/banner.class.php';
            $obj = new Banner();
			
            $resBannersSplash = $obj->ShowListBannersSection("SplashTop", "Cn", "", 6);
            while ($rowBannersSplash = mysql_fetch_array($resBannersSplash))
            {    
                $nomeProfiloSplash = $rowBannersSplash['nome'];
                $cittaProfiloSplash = $rowBannersSplash['citta'];
                $zona = $rowBannersSplash['zona'];
                $path_banner = $rowBannersSplash['path_banner'];
                $title_banner = $rowBannersSplash['title_banner'];
				
				$tipo_class = "Top";									
				$sessoProfiloSplash = "Escort";
				$sottotitolo = $tipo_class." ".$sessoProfiloSplash." ".$cittaProfiloSplash." ".$zona;
				
                if(isset($_SESSION['lingua']) && $_SESSION['lingua'] !="it")
                {
                    //$href_banner = $translate->TranslateHrefBanner($href_banner);
                    $href_banner_col = "href_banner_".$_SESSION['lingua'];
                    if($rowBannersSplash[$href_banner_col] != "" && $rowBannersSplash[$href_banner_col] != null)
                        $href_banner = $rowBannersSplash[$href_banner_col];
                    else
                        $href_banner = $rowBannersSplash['href_banner'];
                }
                else
                    $href_banner = $rowBannersSplash['href_banner']; //Italiano
                 
                //$href_banner = $translate->TranslateHrefBanner($href_banner);
                //$title_banner = $obj->CleanStringForUrl($title_banner);
                
                ?>                
                <li class="sliderImage">
                    <a href="<?=$href_banner?>"><img src="<?=$path_banner?>" alt="<?=$title_banner?>" width="550px" height="250px" /></a>
                    <span class="bottom"><strong><?=$nomeProfiloSplash?></strong><br /><?=$sottotitolo?></span>
                </li>   
                <?
            }
            mysql_free_result($resBannersSplash);    
        ?>
           <div class="clear sliderImage"></div>
        </ul>
        </div>
    </div>
</div>
